/**
 * Created by IntelliJ IDEA.
 * User: Tomek
 * Date: 20.06.12
 * Time: 22:49
 * To change this template use File | Settings | File Templates.
 */
package AS3 {
import mx.utils.NameUtil;

public class CalculationResult {

    private var _general:Number;
    private var _deforestation:Number;
    private var _electricity:Number;
    private var _consumption:Number;
    private var _airTransport:Number;
    private var _publicTransport:Number;
    private var _carProduction:Number;
    private var _fuelBurnings:Number;
    private var _airConditioning:Number;
    private var _hotWater:Number;
    private var _heating:Number;
    private var _constructionMaintenance:Number;
    private var _food:Number;


    public function CalculationResult() {
    }


    public function toString():String {
       var result:String = "" + "gen[ " +_general + "] _def[" + _deforestation + "] elec[" + _electricity + "] cons[" + _consumption;
       result = result + "] airTr[ " + _airTransport + "] pbTr[" + _publicTransport + "] carPr[" + _carProduction;
       result = result + "] fuelBr[" + _fuelBurnings + "] ac[" + _airConditioning + "]_hotW[" + _hotWater + "] heat[" + _heating + "_constr[" + _constructionMaintenance;
       result = result + "] food[ " + _food + "]";


       return result;
    }

    public function get food():Number {
        return _food;
    }

    public function set food(value:Number):void {
        _food = value;
    }

    public function get general():Number {
        return _general;
    }

    public function set general(value:Number):void {
        _general = value;
    }

    public function get deforestation():Number {
        return _deforestation;
    }

    public function set deforestation(value:Number):void {
        _deforestation = value;
    }

    public function get electricity():Number {
        return _electricity;
    }

    public function set electricity(value:Number):void {
        _electricity = value;
    }

    public function get consumption():Number {
        return _consumption;
    }

    public function set consumption(value:Number):void {
        _consumption = value;
    }

    public function get airTransport():Number {
        return _airTransport;
    }

    public function set airTransport(value:Number):void {
        _airTransport = value;
    }

    public function get publicTransport():Number {
        return _publicTransport;
    }

    public function set publicTransport(value:Number):void {
        _publicTransport = value;
    }

    public function get carProduction():Number {
        return _carProduction;
    }

    public function set carProduction(value:Number):void {
        _carProduction = value;
    }

    public function get fuelBurnings():Number {
        return _fuelBurnings;
    }

    public function set fuelBurnings(value:Number):void {
        _fuelBurnings = value;
    }

    public function get airConditioning():Number {
        return _airConditioning;
    }

    public function set airConditioning(value:Number):void {
        _airConditioning = value;
    }

    public function get hotWater():Number {
        return _hotWater;
    }

    public function set hotWater(value:Number):void {
        _hotWater = value;
    }

    public function get heating():Number {
        return _heating;
    }

    public function set heating(value:Number):void {
        _heating = value;
    }

    public function get constructionMaintenance():Number {
        return _constructionMaintenance;
    }

    public function set constructionMaintenance(value:Number):void {
        _constructionMaintenance = value;
    }
}
}
